package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberMapper  {
    //查询
    @Select("select * from member where open_id =#{openId}")
    Member getByOpenId(String openId);
    //添加
    void save(Member member);
    //更新
    void update(Member member);
}
